TriggerSource Class

Represents a trigger's attributes.

Inheritance Hierarchy

System.Object
  IntervalZero.KINGSTAR.Base.Class.TriggerSource

Namespace: IntervalZero.KINGSTAR.Base.Class

Assembly: IntervalZero.KINGSTAR.Base.Class (in IntervalZero.KINGSTAR.Base.dll) Version: 4.4.0.0

Syntax

C#VB
public class TriggerSource
Public Class TriggerSource

 

The TriggerSource class exposes the following members.

Constructors

  Name Description
TriggerSource Initializes a new instance of the TriggerSource class.

Properties

  Name Description
DataType For I/O and user variables sources, it is the type of the data to read.
SourceBitOffset For input and output sources, it is the offset of the data to read.
SourceHandle

For motion sources, it is the handle of a command used.

For user variable source, it is the variable itsef. For example:

var addedVar = subsystem.AddDoubleVariable("VAR_TEST", parent);

triggerSource.SourceHandle = addedVar

SourceIndex It is the index of an axis or I/O module.
SourceType The source type the trigger uses.
Type The trigger condition.
Value The value the trigger uses to determine whether a condition is met.
Variable For axis and motion sources, it is the variable to read.

See also

IntervalZero.KINGSTAR.Base.Class Namespace